package org.platform.mo.db;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;

@Table(name = "Tb_fd_TimingDiagnoseStrategy")
@Data
public class FdTimingDiagnoseStrategy {
    /**
     * ID
     */
    @Id
    @Column(name = "ID")
    private String id;

    /**
     * 知识ID
     */
    @Column(name = "knowledgeID")
    private Long knowledgeID;

    /**
     * 测试名称
     */
    @Column(name = "testName")
    private String testName;

    /**
     * 描述
     */
    @Column(name = "timingDesc")
    private String timingDesc;

    /**
     * 创建时间
     */
    @Column(name = "createTime")
    private Long createTime;

    /**
     * 开始时间
     */
    @Column(name = "startTime")
    private Long startTime;

    /**
     * 结束时间
     */
    @Column(name = "endTime")
    private Long endTime;

    /**
     * 执行次数
     */
    private Integer count;

    /**
     * 已执行次数
     */
    @Column(name = "exeCount")
    private Integer exeCount;

    /**
     * 间隔周期
     */
    private Integer cycle;

    /**
     * 是否启动固定
     */
    @Column(name = "isStart")
    private Integer isStart;

    /**
     * 通过率
     */
    @Column(name = "passPercent")
    private Double passPercent;


    /**
     * 创建者
     */
    private String creator;

    /**
     * 状态：0未执行，1正在执行,2已完成
     */
    @Column(name = "executorStatus")
    private Integer executorStatus;

    /**
     * 设备id
     */
    @Column(name = "deviceId")
    private String deviceId;

    /**
     * 诊断类型(0：任务故障诊断 1：测试故障诊断 2：故障树故障诊断)
     */
    @Column(name = "type")
    private Integer type;
}